﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IDAL;
using Model;
namespace DAL
{
    public class SqlorderDetailDAL : IorderDetailDAL
    {
        GameGOEntities db = DbContextFactory.CreateDbContext();
        public void AddOrderDetail(orderDetail o)
        {
            db.orderDetail.Add(o);
            db.SaveChanges();
        }
    }
}
